package com.wuqing.dubbo01;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 开启dubbo的自动配置
 *
 * @author wuqing
 */
@SpringBootApplication
@EnableDubbo
public class Dubbo01Application {

    public static void main(String[] args) {
        SpringApplication.run(Dubbo01Application.class, args);
        System.out.println(
                "-------------------------------------------------" + System.lineSeparator() +
                        "-----------【Dubbo01Application】启动成功-----------" + System.lineSeparator() +
                        "-------------------------------------------------");

    }

}
